home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Know Your Hockey - The Greatest Player Resource
/
Know Your Hockey: The Greatest Player Resource.iso
/
hockey
/
director
/
ssqcst.cst
/
00128_Script_Banner Modifier scripts SSQ
< prev
next >
Wrap
Text File
|
1998-09-28
|
2KB
|
117 lines
global gPopn, gXcast, gOpning
--resets the button state when the popups are toggled off
on popmenuSSQ
initpopMenu("pop",313,60,161,204,"pop")
end
on AnnSSQ
stoponly
Losepop(window "pop")
ReSetBanner
playAnn
end
on CoachSSQ
stoponly
losepop(window "pop")
ReSetBanner
playCoach
end
on helpbutton
puppetsound 0
losepop(window "pop")
resetBanner
if the membernum of sprite 48 > 0 then Stoponly
updatestage
StartHelp(the clickon)
end
on SSQlink
resetbanner
Losepop(window "pop")
StopOnly
updatestage
repeat with x = 1 to 48
puppetsprite x,0
end repeat
set the itemDelimiter = "."
set test = item 1 of the moviename
if test = "SSQintro" then
SSQDLlink2(the clickon)
else
SSQDLlink(the clickon)
end if
set the itemDelimiter = ","
end
on SSQJR
losepop(window "pop")
put the membernum of sprite 48 into s
case s > 0 of
1:
set themovie = the name of member s of castlib 3
0:
set themovie = empty
end case
set theone = (the number of member "KM" of castlib gXcast)+1
set c = the name of member theone
showlocals
if c = themovie then
set the type of sprite 48 = 0
set gOpning = empty
set the movierate of sprite 48 = 0
set the membernum of sprite 48 = 0
controloff
updateStage
else
IntroJr theone
set the visible of sprite 48 = 1
set the type of sprite 40 = 0
updatestage
puppetsprite 40,0
put empty into field "CardCount" of castlib "Internal"
ResetPro
ResetPlayers
controlon
end if
end
on SSQPRO
losepop(window "pop")
put the membernum of sprite 48 into s
case s > 0 of
1:
set themovie = the name of member s of castlib 3
0:
set themovie = empty
end case
set theone = (the number of member "PM" of castlib gXcast)+1
set c = the name of member theone
showlocals
if c = themovie then
set the type of sprite 48 = 0
set gOpning = empty
set the movierate of sprite 48 = 0
set the membernum of sprite 48 = 0
controloff
updateStage
else
IntroPro theone
set the visible of sprite 48 = 1
set the type of sprite 40 = 0
updatestage
puppetsprite 40,0
put empty into field "CardCount" of castlib "Internal"
ResetPro
ResetPlayers
controlon
end if
end